{% extends "base.html" %}
{% block title %}
    修改密码
{% endblock %}
{% block logo %}
    <span href="" class="dropdown-toggle"><i class="fa fa-user"></i>  {{ user.username }}
    {% if user.is_staff %}
            <ul class="dropdown-menu">
{#                <li><a href="/psw-modify/">修改密码</a></li>#}
                <li><a href="/user-list/">用户管理</a></li>
            </ul>
    {% else %}
{#        <ul class="dropdown-menu">#}
            {#                <li><a href="/psw-modify/">修改密码</a></li>#}
{#            <li><a href="/user-list/">用户管理</a></li>#}
{#        </ul>#}
    {% endif %}
</span> | <a href="/logout/">退出</a>
    <script type="text/javascript">
        $(function(){
            $(".dropdown-toggle").hover(function(){
                $(".dropdown-menu").toggle();
            })
        })
    </script>
{% endblock %}
{% block content %}
                <div class="data-detail">
                    <form action="/psw_modify_submit/" method="post">
                        {{ info }}
                        <ul class="ad-ul">
                            <li class="clearfix">
                                <label>密码 : </label>
                                <div><input name="password" id="password" type="text"><span class="ml10 red f12"></span></div>
                            </li>
                            <li class="clearfix">
                                <label>确认密码 : </label>
                                <div><input name="repassword" id="confirmPsw" type="text"><span class="ml10 red f12"></span></div>
                            </li>
                        </ul>
                        <div class="submit-btn"><input id="submint_btn" type="submit" value="提 交"></div>
                    </form>
                </div>
                <script type="text/javascript">
                    $(function(){

                    })
                </script>
{% endblock %}
